Platform Explorer / Nuxeo Platform 5.8

Component org.nuxeo.ecm.platform.task.contentTemplate

Contributions

XML Source

<?xml version="1.0"?>
<component name="org.nuxeo.ecm.platform.task.contentTemplate">

  <require>
    org.nuxeo.ecm.platform.content.template.service.ContentTemplateService.defaultContrib
  </require>

  <extension
    target="org.nuxeo.ecm.platform.content.template.service.ContentTemplateService"
    point="factoryBinding">

    <factoryBinding name="TasksRootFactory" factoryName="SimpleTemplateRootFactory"
      targetType="Root" append="true">
      <template>
        <templateItem typeName="TaskRoot" id="task-root" title="Task" >
          <acl>
            <ace principal="Administrator" permission="Everything"
              granted="true" />
            <ace principal="administrators" permission="Everything"
              granted="true" /> 
            <ace principal="Everyone" permission="Everything" granted="false" />
          </acl>
        </templateItem>
      </template>
    </factoryBinding>

  </extension>

</component>